@csrf
<div class="layui-form-item">
    <label for="block" class="layui-form-label">版块</label>
    <div class="layui-input-block">
        <input type="text" id="block" name="block" lay-filter="block" class="layui-input"
            value="{{$tip->block??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="function" class="layui-form-label">功能编号</label>
    <div class="layui-input-block">
        <input type="text" name="function" class="layui-input" value="{{$tip->function??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="content" class="layui-form-label">问题</label>
    <div class="layui-input-block">
        <input type="text" name="question" class="layui-input" value="{{$tip->question??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="content" class="layui-form-label">提示内容</label>
    <div class="layui-input-block">
        <input type="text" name="content" class="layui-input" value="{{$tip->content??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="content" class="layui-form-label">触发关键字</label>
    <div class="layui-input-block">
        <input type="text" name="trigger_key" class="layui-input" value="{{$tip->trigger_key??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="is_important" class="layui-form-label">是否重要</label>
    <div class="layui-input-block">
        <input type="hidden" name="is_important" value="0">
        <input type="checkbox" name="is_important" lay-skin="switch" lay-text="重要|不重要" value="1" {{$tip->is_important=='1'?'checked':''}}>
    </div>
</div>
<div class="layui-form-item">
    <label for="sort_code" class="layui-form-label">排序</label>
    <div class="layui-input-block">
        <input type="text" name="sort_code" class="layui-input" value="{{$tip->sort_code??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="description" class="layui-form-label">备注</label>
    <div class="layui-input-block">
        <textarea type="text" name="description" class="layui-textarea" value="{{$tip->description??''}}"></textarea>
    </div>
</div>